﻿using EkStudio.com.bean.xml.reflection;
using System.Collections.Generic;
using System;

namespace EkStudio.com.bean.xml.RootInterface.FieldEvent
{
    public class BillDataFillSqlValue:BillObjectInterface
    {
        private List<BillDataFillSqlValueItem> valueItem;

        [XmlTransient]
        public object ParentBean
        {
            get
            {
                return null;
            }

            set
            {
                
            }
        }

        [XmlElement("item")]
        public List<BillDataFillSqlValueItem> ValueItem
        {
            get
            {
                return valueItem;
            }

            set
            {
                valueItem = value;
            }
        }

        public object Clone()
        {
            BillDataFillSqlValue clone = new BillDataFillSqlValue();
            clone.ValueItem = new List<BillDataFillSqlValueItem>();
            if (this.valueItem != null)
            {
                for (int i = 0; i < valueItem.Count; i++)
                {
                    clone.ValueItem.Add((BillDataFillSqlValueItem)valueItem[i].Clone());
                }
            }
            return clone;
        }
    }
}
